/* import TalkObject from '../lib/talkObject'
let talkObject = new TalkObject() */
export default class RefreshInEditSelfInfo {
    constructor(){
    }
    sendMessage() {
    }
    /*收到服务器回执信息的处理*/
    receiptMsg(data) {
        console.log(data)
/*         if(data.body.code != 200){console.log(`修改信息出错!${data}`);return}
        let index = data.data.avatarurl.indexOf('/public');
        let str = data.data.avatarurl.substr(index, data.data.avatarurl.length);
        talkObject.talkList.forEach(item => {
            item.talkPartakeMembers.find(person => {
                if (person.member_id == data.body.member_id) {
                    person.avatarurl = str;
                    person.name = data.data.name;
                    talkObject.initLocalStorage()
                }
            })
        }) */
        return data.body;
    }
    /*接受服务器消息的处理*/
    getMsg(msg) {
        console.log("收到服务器消息被踢下线！", msg)
    }
}